﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Model.Base
{
    /// <summary>
    /// 字段对应的JSON Key
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public class ToJsonAttribute : Attribute
    {
        public ToJsonAttribute(string key)
        {
            this.Key = key;
        }
        public string Key { get; private set; }

    }
}
